#ifndef KEY_H_
#define KEY_H_

#include "Action.h"

#include <SFML/Window.hpp>

class Key : public Action {
    private:
        sf::Keyboard::Key key;
        bool pressed;
        bool tapped;

    public:
        Key(sf::Keyboard::Key);
        virtual ~Key();
        void update();
        void setKey(sf::Keyboard::Key);
        bool isPressed();
        bool isTapped();

};

#endif /*KEY_H_*/
